package org.xlp.auto.create;

import org.xlp.auto.create.exception.AutoCreatorDataLoseException;

import java.io.IOException;

/**
 * Description: entity, dao, service, controller自动创建接口
 * <br/>date: 2023/11/30 10:48
 *
 * @version 1.0
 * @author: xlp
 */
public interface IAutoCreator {
    /**
     * 写文件
     * @throws IOException
     */
    void write() throws IOException, AutoCreatorDataLoseException;

    /**
     * 获取java文件类类型
     * @return
     */
    ClassType getClassType();
}
